package com.jhgsys.internal.base.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jhgsys.internal.base.dto.BaseAreaSchedulingInfoDto;
import com.jhgsys.internal.base.dto.BaseAreaSchedulingInfoQuery;
import com.jhgsys.internal.base.entity.BaseAreaScheduling;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * 区域排班 Mapper
 *
 * @author admin
 * @date 2024-07-31 14:35:45
 */
public interface BaseAreaSchedulingMapper extends BaseMapper<BaseAreaScheduling> {

    List<String> selectDate(@Param("query") BaseAreaSchedulingInfoQuery query);

    List<BaseAreaScheduling> selectNewestSchedule(@Param("areaId")String areaId);

}
